<?php

include("auth-class.php");

DEFINE('SMARTY_DIR','./smarty/libs/');

require(SMARTY_DIR."Smarty.class.php");

class Smarty_HeavenCMS extends Smarty
{
	function Smarty_HeavenCMS()
	{
		$this->Smarty();

		$this->template_dir = './templates/';
		$this->compile_dir = './templates_c/';
		$this->config_dir = './configs/';
		$this->cache_dir = './cache/';

		$this->caching = true;
		$this->security = true;
		$this->assign('app name','HeavenCMS');
	}
}

?>

